package com.aso.common.http.delegate;

/**
 * @Description Http请求过程中的回调
 * Created by itsdf07 on 2017/7/19.
 */

public interface IHttpCallback {
    /**
     * @param result
     * @Description http成功响应
     */
    void onSuccess(String result);

    /**
     * @param code
     * @param error
     * @Description http响应失败
     */
    void onFailure(String code, String error);
}
